/*******************************************************************************
 * 版权：北京润尼尔网络科技有限公司，保留所有版权<br>
 * 版本：v1.0.0<br>
 * 文件：ConnectionModel.js<br>
 * 日期：2018年8月21日<br>
 * 作者: 孙燕宝<br>
 * 功能：连线模型定义<br>
 * 
 * 修改记录：<br>
 * 日期 描述 更新功能<br>
 ******************************************************************************/

 window.makeNamespace(window,"Rainier.UI.V2.Communication");

/**
 * 类型名称：Rainier.UI.V2.Communication.ConnectionModel<br>
 * 类型功能：连线模型<br>
 * 接口函数：无<br>
 * 成员变量：无<br>
 */
Rainier.UI.V2.Communication.ConnectionModel = 
[
	{
		type: "Rainier.UI.V2.ConnectionModel",
	    uiProperty: {
	        stroke: 1,
	        radius: 10,
	        color: "#00A8F0"
	    },
	    modelProperty: {
	        name: "connection1",
	        router: "Rainier.UI.V2.InteractiveManhattanRouter",
	        segments: [
	            {
	                start_x: 0,
	                start_y: 0,
	                end_x: 0,
	                end_y: 0,
	                type: "horizontal"
	            },
	            {
	                start_x: 0,
	                start_y: 0,
	                end_x: 0,
	                end_y: 0,
	                type: "vertical"
	            }
	        ]
	    }
	},
	{
	    type: "Rainier.UI.V2.ConnectionModel",
	    uiProperty: {
	        stroke: 1,
	        radius: 10,
	        color: "#00A8F0"
	    },
	    modelProperty: {
	        name: "connection1",
	        router: "Rainier.UI.V2.InteractiveManhattanRouter",
	        segments: [
	            {
	                start_x: 0,
	                start_y: 0,
	                end_x: 0,
	                end_y: 0,
	                type: "vertical"
	            }
	        ]
	    }
	},
]